from distutils.core import setup, Extension


pyBlockInfo = Extension(
  "pyblockinfo",
  libraries     = ["blkid", "fdisk"],
  sources       = ["pyblockinfo/pyblockinfo-module.c"])


# https://docs.python.org/3/distutils/setupscript.html
setup(name='wiizard',
  version='0.1-alpha1',
  license='GPL3',
  description=('Wii game manager'),
  author='CYBERDEViL',
  url='https://notabug.org/cyberdevil',
  packages=[
    'wiizard',
    'wiizard.widgets',
    'wiizard.models',
    'wiizard.views',
    'wiizard.scrapers'
  ],
  # https://pypi.org/classifiers/
  classifiers=[
    'Development Status :: 3 - Alpha',
    'Environment :: X11 Applications :: Qt',
    'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
    'Topic :: Games/Entertainment'
  ],
  scripts=[
    'bin/wiizard'
  ],
  data_files=[
    ('share/applications' , ['share/Wiizard.desktop']),
    ('share/icons/wiizard', ['wiizard/images/wiizard_icon_16.png',
                             'wiizard/images/wiizard_icon_32.png',
                             'wiizard/images/wiizard_icon_64.png']),
    ('share/wiizard/'     , ['wiizard/images/wiizard_logo.png',
                             'wiizard/images/default_2d_cover.png',
                             'wiizard/images/default_3d_cover.png',
                             'wiizard/images/default_disc_cover.png'])
  ],
  ext_modules  = [pyBlockInfo]
)
